﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GrayParrot.Web.Formly;

namespace FimetContoDeposito.BLL.Metadata
{
    public class AssociazioneUtenteMagazzinoMetadata
    {
        [FormFieldAttribute(Type = FormFieldTypes.Select)]
        [SelectTemplateOptions(Label = "Utente",
                               Placeholder = "Selezionare l'utente da associare al magazzino...",
                               Required = true,
                               Callback = "/api/Common/LoadCustomers", ForceLoad = true)]
        public Guid IdUser { get; set; }

        [FormFieldAttribute(Type = FormFieldTypes.Select)]
        [SelectTemplateOptions(Label = "Magazzino",
                               Placeholder = "Selezionare il magazzino...",
                               Required = true,
                               Callback = "/api/Customers/LoadNewCustomerOperators", ForceLoad = true)]
        public Guid IdCustomer { get; set; }
    }
}
